/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017-2027 Chinazyjr,Inc.All Rights Reserved.
 */

package com.sys.midware.hadoop.model;

import java.io.Serializable;

/**
 * <b>ClassName:</b> BHDFSFile.java <br/>
 * <b>Description:</b> TODO <br/>
 * <b>Date:</b> 2016年3月25日 上午10:55:00<br/>
 * 
 * @author mobing
 * @version
 */
public class BHDFSFile  implements Serializable {


    /**
     * serialVersionUID:TODO
     */
    
    private static final long serialVersionUID = -3331429475056350720L;

    private String path;

    private String owner;

    private String group;

    private long blockSize;

    private long length;
    
    private boolean isDir;

    public boolean isDir() {
        return isDir;
    }

    public void setDir(boolean isDir) {
        this.isDir = isDir;
    }


    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public long getBlockSize() {
        return blockSize;
    }

    public void setBlockSize(long blockSize) {
        this.blockSize = blockSize;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }
    @Override
    public String toString() {
        return new StringBuilder().append("BHDFSFile[")
                .append("path=").append(path)
                .append(", owner=").append(owner)
                .append(", group=").append(group)
                .append(", blockSize=").append(blockSize)
                .append(", length=").append( length)
                .append(", isDir=").append( isDir)
                .append("]\r\n").toString();
    }
}
